home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / gnu / gnumake / gulmake.zoo / makelast < prev    next >
Text File  |  1990-10-13  |  6KB  |  155 lines

  1. # Makefile for GNU C compiler.
  2. #   Copyright (C) 1987 Free Software Foundation, Inc.
  3.  
  4. #This file is part of GNU CC.
  5.  
  6. #GNU CC is distributed in the hope that it will be useful,
  7. #but WITHOUT ANY WARRANTY.  No author or distributor
  8. #accepts responsibility to anyone for the consequences of using it
  9. #or for whether it serves any particular purpose or works at all,
  10. #unless he says so in writing.  Refer to the GNU CC General Public
  11. #License for full details.
  12.  
  13. #Everyone is granted permission to copy, modify and redistribute
  14. #GNU CC, but only under the conditions described in the
  15. #GNU CC General Public License.   A copy of this license is
  16. #supposed to have been given to you along with GNU CC so you
  17. #can know your rights and responsibilities.  It should be in a
  18. #file named COPYING.  Among other things, the copyright notice
  19. #and this notice must be preserved on all copies.
  20.  
  21. #-----------------------------------------------
  22. # Run this file last in gulam: 'make -f makelast'
  23. #-----------------------------------------------
  24.  
  25. CROSSINC = d:\gnu\include
  26. CFLAGS = -O -I$(CROSSINC) -I.\config -I. -Datarist
  27. CC = d:\gnu\bin\gcc
  28.  
  29. bindir = 
  30. libdir = 
  31.  
  32. OBSTACK=obstack.o
  33.  
  34. LIBDEPS= $(OBSTACK)
  35.  
  36. # How to link with both our special library facilities
  37. # and the system's installed libraries.
  38. LIBS = $(OBSTACK) 
  39.  
  40. DIR = ../gcc
  41.  
  42. # Object files of CC1.
  43. OBJS = toplev.o version.o c-parset.o tree.o print-tree.o \
  44.  c-decl.o c-typeck.o c-convert.o stor-layout.o fold-const.o \
  45.  rtl.o rtlanal.o expr.o stmt.o expmed.o explow.o optabs.o varasm.o \
  46.  symout.o dbxout.o sdbout.o emit-rtl.o insn-emit.o \
  47.  integrate.o jump.o cse.o loop.o flow.o stupid.o combine.o \
  48.  regclass.o local-alloc.o global-alloc.o reload.o reload1.o caller-save.o \
  49.  insn-peep.o final.o recog.o insn-recog.o insn-extract.o insn-output.o
  50.  
  51. # Header files that are made available to programs compiled with gcc.
  52. USER_H = stddef.h stdarg.h assert.h va-*.h limits.h
  53.  
  54. LDFLAGS =
  55. CONFIG_H =
  56. RTL_H = rtl.h rtl.def machmode.def
  57. TREE_H = tree.h tree.def machmode.def
  58.  
  59. ALL =  gcc.ttp gcc-cc1.ttp gcc-cpp.ttp
  60.  
  61. all : $(ALL)
  62.  
  63. gcc.ttp: gcc.o version.o $(LIBDEPS)
  64.     $(CC) $(CFLAGS) $(LDFLAGS) -o gcc.ttp gcc.o version.o $(LIBS)
  65.  
  66. gcc.o: gcc.c $(CONFIG_H)
  67.     $(CC) $(CFLAGS) -c gcc.c
  68.  
  69. gcc-cc1.ttp: $(OBJS) $(LIBDEPS)
  70.     $(CC) $(CFLAGS) $(LDFLAGS) -o gcc-cc1.ttp $(OBJS) $(LIBS)
  71.  
  72. # C-language specific files.
  73.  
  74. c-parset.o : c-parset.c $(CONFIG_H) $(TREE_H) c-parse.h c-tree.h
  75.  
  76. c-decl.o : c-decl.c $(CONFIG_H) $(TREE_H) c-tree.h c-parse.h flags.h
  77. c-typeck.o : c-typeck.c $(CONFIG_H) $(TREE_H) c-tree.h flags.h
  78. c-convert.o : c-convert.c $(CONFIG_H) $(TREE_H)
  79.  
  80. # Language-independent files.
  81.  
  82. tree.o : tree.c $(CONFIG_H) $(TREE_H)
  83. print-tree.o : print-tree.c $(CONFIG_H) $(TREE_H)
  84. stor-layout.o : stor-layout.c $(CONFIG_H) $(TREE_H)
  85. fold-const.o : fold-const.c $(CONFIG_H) $(TREE_H)
  86. toplev.o : toplev.c $(CONFIG_H) $(TREE_H) flags.h
  87.  
  88. rtlanal.o : rtlanal.c $(CONFIG_H) $(RTL_H)
  89.  
  90. varasm.o : varasm.c $(CONFIG_H) $(TREE_H) $(RTL_H) flags.h expr.h insn-codes.h
  91. stmt.o : stmt.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h  \
  92.    insn-flags.h expr.h insn-config.h regs.h insn-codes.h
  93. expr.o : expr.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h  \
  94.    insn-flags.h insn-codes.h expr.h insn-config.h recog.h
  95. expmed.o : expmed.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h  \
  96.    insn-flags.h insn-codes.h expr.h insn-config.h recog.h
  97. explow.o : explow.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h expr.h insn-codes.h
  98. optabs.o : optabs.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h  \
  99.    insn-flags.h insn-codes.h expr.h insn-config.h recog.h
  100. symout.o : symout.c $(CONFIG_H) $(TREE_H) $(RTL_H) symseg.h gdbfiles.h
  101. dbxout.o : dbxout.c $(CONFIG_H) $(TREE_H) $(RTL_H) flags.h
  102. sdbout.o : sdbout.c $(CONFIG_H) $(TREE_H) $(RTL_H) c-tree.h
  103.  
  104. emit-rtl.o : emit-rtl.c $(CONFIG_H) $(RTL_H) regs.h insn-config.h
  105.  
  106. integrate.o : integrate.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h expr.h \
  107.    insn-flags.h insn-codes.h
  108.  
  109. jump.o : jump.c $(CONFIG_H) $(RTL_H) flags.h regs.h
  110. stupid.o : stupid.c $(CONFIG_H) $(RTL_H) regs.h hard-reg-set.h
  111.  
  112. cse.o : cse.c $(CONFIG_H) $(RTL_H) regs.h hard-reg-set.h flags.h
  113. loop.o : loop.c $(CONFIG_H) $(RTL_H) insn-config.h regs.h recog.h
  114. flow.o : flow.c $(CONFIG_H) $(RTL_H) basic-block.h regs.h hard-reg-set.h
  115. combine.o : combine.c $(CONFIG_H) $(RTL_H) flags.h  \
  116.    insn-config.h regs.h basic-block.h recog.h
  117. regclass.o : regclass.c $(CONFIG_H) $(RTL_H) flags.h regs.h \
  118.    insn-config.h recog.h hard-reg-set.h
  119. local-alloc.o : local-alloc.c $(CONFIG_H) $(RTL_H) basic-block.h regs.h \
  120.    insn-config.h recog.h hard-reg-set.h
  121. global-alloc.o : global-alloc.c $(CONFIG_H) $(RTL_H) flags.h  \
  122.    basic-block.h regs.h hard-reg-set.h insn-config.h
  123.  
  124. reload.o : reload.c $(CONFIG_H) $(RTL_H)  \
  125.    reload.h recog.h hard-reg-set.h insn-config.h regs.h
  126. reload1.o : reload1.c $(CONFIG_H) $(RTL_H) flags.h  \
  127.    reload.h regs.h hard-reg-set.h insn-config.h basic-block.h
  128. caller-save.o : caller-save.c $(CONFIG_H) $(RTL_H) flags.h \
  129.    reload.h regs.h hard-reg-set.h insn-config.h basic-block.h recog.h
  130. final.o : final.c $(CONFIG_H) $(RTL_H) regs.h recog.h conditions.h gdbfiles.h \
  131.    insn-config.h
  132. recog.o : recog.c $(CONFIG_H) $(RTL_H)  \
  133.    regs.h recog.h hard-reg-set.h insn-config.h
  134.  
  135. insn-emit.o : insn-emit.c $(CONFIG_H) $(RTL_H) expr.h insn-config.h
  136.     $(CC) $(CFLAGS) -c insn-emit.c
  137.  
  138. insn-recog.o : insn-recog.c $(CONFIG_H) $(RTL_H) insn-config.h
  139.     $(CC) $(CFLAGS) -c insn-recog.c
  140.  
  141. insn-extract.o : insn-extract.c $(RTL_H)
  142.     $(CC) $(CFLAGS) -c insn-extract.c
  143.  
  144. insn-peep.o : insn-peep.c $(CONFIG_H) $(RTL_H) regs.h
  145.     $(CC) $(CFLAGS) -c insn-peep.c
  146.  
  147. insn-output.o : insn-output.c $(CONFIG_H) $(RTL_H) regs.h insn-config.h insn-flags.h conditions.h output.h aux-output.c
  148.     $(CC) $(CFLAGS) -c insn-output.c
  149.  
  150. gcc-cpp.ttp: cccp.o cexp.o version.o $(LIBDEPS)
  151.     $(CC) $(CFLAGS) $(LDFLAGS) -o gcc-cpp.ttp cccp.o cexp.o version.o $(LIBS)
  152. cexp.o: cexp.c
  153. cccp.o: cccp.c
  154.  
  155.